$opts = array(  
    'http' => array(  
        'proxy' => 'ng001.weimiaocloud.com:9003',  
        'request_fulluri' => true,  
    ),  
);  
$context = stream_context_create($opts);
$ip = file_get_contents("http://httpbin.org/ip", false, $context); 
echo $ip; 